package com.yydream.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class RoleRelationUserDTO extends BaseDTO {

    @NotNull(message = "角色id不能为空")
    @ApiModelProperty(name = "角色id")
    private Long roleId;

    @ApiModelProperty(name = "用户id集合", notes = "数组集合")
    private List<Long> userIds;

}
